/*
 * 
 * LegendShop 多用户商城系统
 * 
 *  版权所有,并保留所有权利。
 * 
 */
package com.legendshop.oa.dao;
 
import java.util.List;

import com.legendshop.dao.Dao;
import com.legendshop.dao.support.CriteriaQuery;
import com.legendshop.dao.support.PageSupport;
import com.legendshop.oa.model.Department;

/**
 * The Class DepartmentDao.
 */

public interface DepartmentDao extends Dao<Department, Long> {
     
    public abstract List<Department> getDepartment(String shopName);

	public abstract Department getDepartment(Long id);
	
    public abstract int deleteDepartment(Department department);
	
	public abstract Long saveDepartment(Department department);
	
	public abstract int updateDepartment(Department department);
	
	public abstract PageSupport getDepartment(CriteriaQuery cq);

	public abstract List<Department> getAllDepartment();

	public abstract String getDepartmentName(Long deptId);
	
 }
